* {
  margin: 0;
  padding: 0;
}

.allhead {
  width: 100%;
  height: 30px;
  background-color: #eeeeee;
}

.allhead .head {
  width: 1226px;
  height: 30px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.allhead .head .head1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 100px;
}

.allhead .head .head1 span {
  font-size: 12px;
  padding-right: 10px;
}

.allhead .head .head1 .head1son a {
  color: black;
  border-right: 1px solid gray;
}

.allhead .head .head1 .head1son a b {
  font-weight: 600;
  padding-right: 5px;
}

.allhead .head .head1 .head1son a:nth-child(3) {
  border-right: 0px;
}

.allhead .head .head1 .show {
  display: none;
}

.allhead .head .head1 .show a {
  color: #666666;
  font-size: 12px;
}

.allhead .head .head1 .show span {
  font-size: 12px;
}

.allhead .head .head2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.allhead .head .head2 .head2son a {
  font-size: 12px;
  color: black;
  border-right: 1px solid gray;
  padding-right: 5px;
}

.allhead .head .head2 .head2son a:nth-child(4) {
  border-right: 0px;
}

.allhead .head .head2 .head2son .cart-shop:hover {
  text-decoration: underline;
  color: red;
}

.wrap {
  width: 100%;
  height: 140px;
}

.wrap .nav {
  display: flex;
  justify-content: space-between;
  width: 1226px;
  height: 100%;
  margin: auto;
}

.wrap .nav .wrapson {
  width: 100px;
  height: 180px;
  margin-top: 60px;
}

.wrap .nav .wrapson a span {
  color: #747474;
  position: absolute;
}

.wrap .nav .wrap1son {
  width: 100px;
  height: 100%;
  margin-left: 120px;
}

.wrap .nav .wrap2son {
  height: 100%;
  width: 200px;
}

.wrap .nav .wrap2son input {
  padding-left: 5px;
}

.wrap .nav .wrap2son .sousuo {
  width: 100px;
  height: 20px;
  border: 1px solid gray;
  border-radius: 30px;
}

.wrap .nav .wrap2son i {
  display: inline-block;
  margin-top: 30px;
  color: gray;
  font-size: 20px;
}

.banner {
  width: 1226px;
  height: 20px;
  margin: auto;
}

.banner ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner ul li {
  list-style: none;
  color: black;
  font-weight: 900;
  font-size: 14px;
}

.banner ul a:nth-child(1) {
  margin-left: 20px;
}

.banner ul a:nth-child(6) {
  margin-right: 50px;
}

.main {
  width: 100%;
  height: 1000px;
}

.main .sub {
  width: 1226px;
  height: 100%;
  margin: auto;
  display: flex;
  margin-top: 20px;
}

.main .sub .box {
  width: 400px;
  height: 500px;
}

.main .sub .box .left {
  width: 400px;
  height: 400px;
  position: relative;
}

.main .sub .box .a {
  width: 200px;
  height: 200px;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  cursor: move;
}

.main .sub .box .bigImg {
  width: 400px;
  height: 400px;
}

.main .sub .box ul {
  width: 70px;
  height: 70px;
  display: flex;
}

.main .sub .box ul li img {
  width: 70px;
  height: 70px;
}

.main .sub .box1 {
  width: 500px;
  margin-left: 30px;
  line-height: 30px;
  position: relative;
}

.main .sub .box1 .right {
  width: 400px;
  height: 400px;
  position: absolute;
  overflow: hidden;
  display: none;
}

.main .sub .box1 .right img {
  width: 800px;
  height: 800px;
  position: absolute;
}

.main .sub .box1 .goods_title {
  font-size: 16px;
  font-weight: 600;
}

.main .sub .box1 p {
  color: #666666;
}

.main .sub .box1 .box1son-price {
  width: 100%;
  height: 80px;
  border: 1px solid gray;
  display: flex;
  align-items: center;
  padding-left: 30px;
}

.main .sub .box1 .box1son-price p {
  font-size: 14px;
}

.main .sub .box1 .box1son-price p .goods_price {
  color: #cc0000;
  font-size: 18px;
  font-weight: 600;
  margin-left: 30px;
}

.main .sub .box1 .box1son-size {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.main .sub .box1 .box1son-size span {
  width: 40px;
  font-size: 12px;
  height: 20px;
  display: inline-block;
}

.main .sub .box1 .box1son-size ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 480px;
  margin-left: 10px;
}

.main .sub .box1 .box1son-size ul li {
  line-height: 30px;
  width: 85px;
  text-align: center;
  font-size: 12px;
  border: 1px solid black;
  margin-left: 5px;
  margin-top: 5px;
}

.main .sub .box1 .box1son-color {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.main .sub .box1 .box1son-color span {
  width: 60px;
  font-size: 12px;
  height: 20px;
  display: inline-block;
}

.main .sub .box1 .box1son-color ul {
  display: flex;
  align-items: center;
  width: 480px;
  margin-left: 10px;
}

.main .sub .box1 .box1son-color ul li {
  line-height: 20px;
  width: 30px;
  text-align: center;
  font-size: 12px;
  border: 1px solid black;
  margin-left: 5px;
  margin-top: 5px;
  border: 1px solid red;
}

.main .sub .box1 .box1son-num {
  margin-top: 15px;
  display: flex;
  justify-content: left;
  color: #666666;
}

.main .sub .box1 .box1son-num span {
  width: 60px;
  font-size: 12px;
  height: 20px;
  display: inline-block;
}

.main .sub .box1 .box1son-num .count {
  width: 200px;
}

.main .sub .box1 .box1son-num .count span {
  width: 10px;
}

.main .sub .box1 .box1son-num .count .count-input {
  text-align: center;
  width: 40px;
  border: 1px solid black;
}

.main .sub .box1 .addcart {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.main .sub .box1 .addcart .buy {
  width: 160px;
  display: flex;
  justify-content: center;
  color: #ff0036;
  background-color: #ffeded;
  align-items: center;
  border: 1px solid #ff0036;
  margin-right: 15px;
}

.main .sub .box1 .addcart .incart {
  justify-content: center;
  background-color: #ff0036;
  width: 160px;
  color: #ffeded;
  display: flex;
  align-items: center;
  border: 1px solid #ff0036;
}

.main .sub .box1 .ser {
  margin-top: 20px;
}

.main .sub .box1 .ser span {
  display: inline-block;
  width: 100px;
}

.main .sub .box1 .ser span:nth-of-type(4) {
  width: 140px;
}
